Contribute to this page on GitHub

Global instances

The following instances (variables) are available globally in the script.

mc

Shorthand for MinecraftClient.getInstance(). Contains most methods and fields used to interact with the client; most importantly, mc.player.